package com.baselib.libnetwork.net.libnetworkcomponent;

import java.util.Map;

/**
 * Created by lixuce on 2019/8/14.
 * 需要公共参数的可以继承 这个类
 */
public class PieBaseRequest extends BaseRequest {
    @Override
    protected Map<String, String> setCommonParam() {

        return needCommonParams() ? RequestCommonParams.getInstance().getCommonParams() : null;
    }

    protected boolean needCommonParams() {
        return true;
    }


}
